package com.dingding.service;

import com.dingding.common.ServerResponse;
import com.dingding.vo.OrderVo;
import com.github.pagehelper.PageInfo;

import java.util.Map;


public interface IOrderService {

    ServerResponse pay(Long orderNo, Integer userId, String path);

    public ServerResponse aliCallBack(Map<String,String> params);

    ServerResponse queryOrderPayStatus(Integer userid,Long orderNo);

    ServerResponse createOrder(Integer userId,Integer shipppingId,Integer orderType);

    ServerResponse<String> cancel(Integer userId,Long orderNo);

    ServerResponse getOrderCartProduct(Integer userId);

    ServerResponse<OrderVo> getOrderDetail(Integer userid, Long orderNo);

    ServerResponse<PageInfo> getOrderList(Integer userId, int pageSize, int pageNum);

}
